package com.xxgc.eow.mapper;

import com.xxgc.eow.entity.Topiclibrary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 题库 Mapper 接口
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-29
 */
@Mapper
public interface TopiclibraryMapper extends BaseMapper<Topiclibrary> {

    List<String> selectBanners();

    String selectLibraryNameById(Integer id);

    List<Topiclibrary> selectAllTopicLibraryByMsg(String msg);

    Integer selectTopicLibraryIdByChooseId(Integer chooseId);
}
